<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/meeting.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 会议室管理 <font color=green><a href="__ACTION__">【刷新】</a></font></h1>
     </div>
     <div class="module_public_main">
     <table>
       <tr>
         <td align="center" width="10%">会议室编号</td>
         <td align="center">会议室名称</td>
         <td align="center">容纳人数</td>
         <td align="center">是否开放</td>
         <td align="center">操作</td>
       </tr>
       <?php if(is_array($r_info)): $k = 0; $__LIST__ = $r_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?><tr>
         <td align="center"><?php echo ($k); ?></td>
         <td align="center"><?php echo ($v["r_name"]); ?></td>
         <td align="center"><?php echo ($v["r_renshu"]); ?>&nbsp;人</td>
         <?php if($v["r_is_open"] == '1'): ?><td align="center"><font color=green>√</font></td>
         <?php else: ?>
         <td align="center"><font color=red>x</font></td><?php endif; ?>
         <td align="center">
           <a href="__URL__/edit_meetingRoom/r_id/<?php echo ($v["r_id"]); ?>">修改会议室信息</a> | 
           <a href="__URL__/del_meetingRoom/r_id/<?php echo ($v["r_id"]); ?>">删除会议室</a>
         </td>
       </tr><?php endforeach; endif; else: echo "" ;endif; ?>
     </table>
     </div>
  </div>
</body>
</html>